package com.ln.cmsln.service;

import com.ln.cmsln.pojo.entity.Photo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuwenzhe
 * @since 2022-03-31
 */
public interface PhotoService extends IService<Photo> {


    boolean add(Photo photo, String realPath, MultipartFile file);

    boolean update(Photo photo, String realPath, MultipartFile file);

    boolean deleteById(Long pid, String realPath);
}
